<div class="control-group">	
	<div class="controls">
		<?php echo CHtml::textField('pageLinkedServices', '', array('span' => 5, 'maxlength' => 255, 'id' => 'ms-items')); ?>

	</div>
</div>
<script>
	$(document).ready(function() {
		var ms = $('#ms-items').magicSuggest({
			name: 'pageLinkedServices',
			width: 350,
			//sortOrder: 'title',
			selectionStacked: true,
			selectionPosition: 'right',
			displayField: 'title',
			value: [<?php echo $value; ?>],
			data: <?php echo $items; ?>
		});
	});
</script>
<br /><br />